package com.pojo;

import java.io.Serializable;

public class Teacher implements Serializable {

    private Integer tId;    //教师编号
    private String tName;   //教师名称
    private Integer tNumber;    //教学课程总数
    private String tProfile;    //老师简介
    private String feedback;    //好评度
    private Integer sNumber;    //该老师学生总数
    private String tPic;    //教师头像

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public Integer gettNumber() {
        return tNumber;
    }

    public void settNumber(Integer tNumber) {
        this.tNumber = tNumber;
    }

    public String gettProfile() {
        return tProfile;
    }

    public void settProfile(String tProfile) {
        this.tProfile = tProfile;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public Integer getsNumber() {
        return sNumber;
    }

    public void setsNumber(Integer sNumber) {
        this.sNumber = sNumber;
    }

    public String gettPic() {
        return tPic;
    }

    public void settPic(String tPic) {
        this.tPic = tPic;
    }

    public Teacher(Integer tId, String tName, Integer tNumber, String tProfile, String feedback, Integer sNumber, String tPic) {
        this.tId = tId;
        this.tName = tName;
        this.tNumber = tNumber;
        this.tProfile = tProfile;
        this.feedback = feedback;
        this.sNumber = sNumber;
        this.tPic = tPic;
    }

    public Teacher() {
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tId=" + tId +
                ", tName='" + tName + '\'' +
                ", tNumber=" + tNumber +
                ", tProfile='" + tProfile + '\'' +
                ", feedback='" + feedback + '\'' +
                ", sNumber=" + sNumber +
                ", tPic='" + tPic + '\'' +
                '}';
    }
}
